/*
* $Id: TableItem.h 12 2010-01-08 09:47:33Z volok-aleksej@yandex.ru $
*
* Copyright 2009 by Volokitin Alexey
* All rights reserved
*
*/
#ifndef _TABLE_ITEM_H_
#define _TABLE_ITEM_H_

class CItemTable
{
public:
	const static int sizeFont = 16;
private:
	COLORREF m_colorItem;
protected:
	CSize m_size;
	CPoint m_pos;
public:
	CItemTable(COLORREF color);
	virtual ~CItemTable();
public:
	void Paint(CDC* dc);
	CPoint GetPos();
	CSize GetSize();
	CSize GetDefaultSize(int cx = 0);
	void SetColor(COLORREF color);
};

#endif/*_TABLE_ITEM_H_*/